/*
 * Created on 2006-01-14
 */
package dk.aiszone.lang.comparatorfactory;

/**
 * Interface for classes used for providing <code>Objects</code> needed during the comparing process.
 * 
 * @author <a href="mailto:ais@mail.dk">Ais</a>
 */
public interface ComparatorObjectProvider {

    /**
     * Retrieve the <code>Object</code> associated with the specified <code>id</code>.
     * 
     * @param object
     *            The <code>Object</code> to retrieve the id'd <code>object</code> for.
     * @param id
     *            The id of the <code>Object</code> to retrieve
     * @return The associated <code>Object</code>.
     */
    public abstract Object getObject(Object object, String id);

}